<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
    <title>个人信息-站内信</title>
    {include member.inc.csslink}
    <style>
        .table tbody td a {display: inline-block;margin: 0 6px;}
        .table tbody td {height: 50px;}
    </style>
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/member/member/index">个人信息</a> > 站内信</div>

    {include member.inc.leftNav}
    <div class="main">
        <section class="panel">
            <div class="header"><h1>站内信</h1></div>
            {if $items}
            <table class="table">
                <thead><tr>
                    <td width="60">发件人</td>
                    <td width="80">标题</td>
                    <td width="300">内容</td>
                    <td width="120">时间</td>
                    <td width="30">状态</td>
                    <td width="90">操作</td>
                </tr></thead>
                <tbody>
                {loop $items $value}
                    <tr data-id="{$value[id]}" class="detail_tr">
                        <td>{$value[manager_name]}</td>
                        <td>{$value[tmpl_name]}</td>
                        <td class="con detail_td">
                            <p class="ellipsis">{$value[to_content]}</p>
                            <div class="detail_con">{$value[to_content]}</div>
                        </td>
                        <td>{$value[to_time]}</td>
                      
                        <td class="td-is-read-{$value[id]}">{$value[is_read]}</td>

                        <td class="c-primary">
                            {if $value['is_read']!='已读'}
                              <a href="javascript:;" class="link2 js-read">标记已读</a>
                            {/if}
                            <a href="javascript:;" class="link2 js-delete">删除</a>
                        </td>
                    </tr>
                {/loop}

                </tbody>
            </table>
            {$pagemenu}
            {else}
            <div class="empty_tip">
                没有找到相应的站内信
            </div>
            {/if}
        </section>
    </div>
</main>

{include member.inc.footer}
{include member.inc.script}

<script>
   seajs.use('message',function(message){
       message.init();
   })
</script>
{include member.inc.foot_hook}
</body>
</html>
